// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------


import request from "@/utils/request.js";

/**
 * 获取银盛区域信息
 * 
 */
export function getYsRegionListApi(data) {
	return request.post('epay/areainfo', data);
}

/**
 * 获取银盛店铺分类
 * 
 */
export function getYsChannelListApi() {
	return request.post('admart/channel/list', {});
}


/**
 * 获取银盛店铺子分类
 * 
 */
export function getYsCategoryListApi(data) {
	return request.post('admart/category/list', data);
}

/**
 * 银盛银行卡信息查询
 * 
 */
export function getYsBankInfoApi(data) {
	return request.post('epay/findbin', data);
}

/**
 * 银盛支行列表查询
 * 
 */
export function getYsBankChildListApi(data) {
	return request.post('epay/findcode', data);
}

/**
 * 银盛图片上传
 * 
 */
export function getYsImageUploadApi(data) {
	return request.post('epay/ysupload', data);
}

/**
 * 获取银盛签约地址
 * 
 */
export function getYsSignUrlApi(data) {
	return request.post('epay/getsign', data);
}


/**
 * 获取我的申请信息
 * 
 */
export function getUserApplyInfoApi() {
	return request.post('merchant/ys/info', {});
}

/**
 * 基本资料提交
 * 
 */
export function submitApplyBaseApi(data) {
	return request.post('merchant/ys/apply', data);
}

/**
 * 整体资料提交审核
 * 
 */
export function submitApplyAllApi(data) {
	return request.post('merchant/ys/examine', data);
}

/**
 * 升级为商户
 * 
 */
export function submitApplyChangeApi(data) {
	return request.post('merchant/ys/admartapply', data);
}

/**
 * 升级为商户提交资料
 * 
 */
export function submitApplyChangeAllApi(data) {
	return request.post('merchant/ys/admartexamine', data);
}



